package com.huaxin.hxmodulesystem.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import jakarta.validation.constraints.NotBlank;

import java.util.List;

@Data
@Schema(description = "批量绑定用户角色请求DTO")
public class AddUserRoleReqDTO {

    @NotBlank(message = "用户ID不能为空")
    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String userId;

    @Schema(description = "要绑定的角色ID列表")
    private List<String> roleIds;

    @NotBlank(message = "组织ID不能为空")
    @Schema(description = "组织ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String orgId;
}